package com.liush.bookstore.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_book")
public class Book {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String bookname;
    private String author;
    private Double price;
    private Integer salecount;
    private Integer bookcount;
    private String bookimg;
    private Integer status;
}